import request from '../../utils/request';
/*用户是否存在*/
export const isExistUser = param => {
    return request({
        // url: '/api/vr/user/checkUser',
        // method: 'post',
        url: './json/hospital/isExistUser.json',
        method: 'get',
    });
};
/*新增用户*/
export const addUser = query => {
    return request({
        // url: '/api/vr/user/doAdd',
        // method: 'post',
        url: './json/hospital/doUserAdd.json',
        method: 'get',
        data: query,
    });
};
//修改用户密码
export const updatePwd = query => {
    return request({
        url: '/api/vr/user/doUpdatePwd',
        method:'post',
        // url: './json/hospital/doUserAdd.json',
        // method: 'get',
        params: query
    });
};
// export const doSignout = param => {
//     return request({
//         url: '/api/upp/login/doSignout',
//         method: 'post',
//         params: param
//     });
// };
